function temo (obj){
    obj++;
    console.log(obj); 
    console.log("这里是master分支");
    console.log("这里是dev分支");
};

var main = document.getElementById("main");


main.addEventListener("click",function(){
      alert(1);
})

var arr = [1,2,3,4,5,6,7];

var arrtow = arr.filter((item ,index, arr)=>{
          return item>2;
})

arr.forEach((item,index,arr)=>{
         if(arr.length===7){
            arr.push("checkbox");
         }
})

var arrsex = arr.map(item=>{
     return item*2;
})

console.log(arrsex,arr);
